package com.solution.admin.order.entity;

import java.util.Date;

import com.solution.common.entity.BaseEntity;
import com.solution.common.utils.DateUtils_add;

/**
 * 订单日志流水实体类
 * @author lilp
 * @date 2017-09-18 19:25:36
 */
public class OrderLogEntity extends BaseEntity {
	private static final long serialVersionUID = -3926291988306842687L;
	
	
	/**
	 * 订单编号
	 */
	private String orderCode;
	
	/**
	 * 操作人
	 */
	private String operaterCode;
	
	/**
	 * 操作人名称
	 */
	private String operaterName;
	
	/**
	 * 操作时间 
	 */
	private Date opTime; 
	
	/**
	 * 操作类型
	 */
	private String logType;
	
	/**
	 * 操作内容
	 */
	private String logContent;
	
	/**
	 * 备注
	 */
	private String intro;
	
	
	
	

	/**
	 * 订单编号
	 */
	public String getOrderCode() {
		return orderCode;
	}
	public void setOrderCode(String orderCode) {
		this.orderCode=orderCode;
	}

	/**
	 * 操作人
	 */
	public String getOperaterCode() {
		return operaterCode;
	}
	public void setOperaterCode(String operaterCode) {
		this.operaterCode=operaterCode;
	}

	/**
	 * 操作人名称
	 */
	public String getOperaterName() {
		return operaterName;
	}
	public void setOperaterName(String operaterName) {
		this.operaterName=operaterName;
	}

	/**
	 * 操作时间 
	 */
	public Date getOpTime() {
		return opTime;
	}
	public void setOpTime(Date opTime) {
		this.opTime=opTime;
	}
	public String getOpTimeStr(){
		if (null != opTime) {
			return DateUtils_add.formatDate(opTime);
		}
		return "";
	}

	/**
	 * 操作类型
	 */
	public String getLogType() {
		return logType;
	}
	public void setLogType(String logType) {
		this.logType=logType;
	}

	/**
	 * 操作内容
	 */
	public String getLogContent() {
		return logContent;
	}
	public void setLogContent(String logContent) {
		this.logContent=logContent;
	}

	/**
	 * 备注
	 */
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro=intro;
	}
}
